package com.qiwx.pigeon.viewinterface;

import com.qiwx.pigeon.base.IBaseView;
import com.qiwx.pigeon.data.network.BaseResponse;
import com.qiwx.pigeon.data.vo.BaseBean;
import com.qiwx.pigeon.data.vo.pageinfo.PageInfo;

/**
 * @description
 * @Author qiwx
 * @Date 2020/9/2 3:52 PM
 * 常用
 **/
public interface ICommonView<T extends BaseBean> extends IBaseView {
    //添加成功
    void onAddSuccess(BaseResponse response);

    //删除成功
    void onDeleteSuccess(BaseResponse response);

    //获取列表成功
    void onQueryListSuccess(PageInfo<T> list);

}
